package com.woniuxy.test;

/**
 * @Author author
 * @Create 2023-09-08 17:34
 */
public class App02 {
    public static void main(String[] args) throws Exception {
        test2();
        System.out.println("aaa");
    }

    static void test1(){
        if(true){
            try {
                throw new Exception();
            } catch (Exception e) {
                throw new RuntimeException(e);
//                e.printStackTrace();
            }
        }
    }

    static void test2() throws Exception {
        if(true){
            throw new Exception();
        }
    }
}
